package com.yinhai.springmvc.po;

public class Emp {

	/**  */
	private Integer empno;

	/**  */
	private String ename;

	/**  */
	private String job;

	/**  */
	private Integer mgr;

	/**  */
	private java.sql.Timestamp hiredate;

	/**  */
	private java.math.BigDecimal sal;

	/**  */
	private java.math.BigDecimal comm;

	/**  */
	private Integer deptno;

	public Emp() {
	}

	public Emp(Integer empno) {
		this.empno = empno;
	}


	/**
	 * 设置 empno 
	 * @param empno 
	 */
	public void setEmpno(Integer empno) {
		this.empno = empno;
	}

	/**
	 * 获取 empno 
	 * @return 
	 */
	public Integer getEmpno() {
		return this.empno;
	}

	/**
	 * 设置 ename 
	 * @param ename 
	 */
	public void setEname(String ename) {
		this.ename = ename;
	}

	/**
	 * 获取 ename 
	 * @return 
	 */
	public String getEname() {
		return this.ename;
	}

	/**
	 * 设置 job 
	 * @param job 
	 */
	public void setJob(String job) {
		this.job = job;
	}

	/**
	 * 获取 job 
	 * @return 
	 */
	public String getJob() {
		return this.job;
	}

	/**
	 * 设置 mgr 
	 * @param mgr 
	 */
	public void setMgr(Integer mgr) {
		this.mgr = mgr;
	}

	/**
	 * 获取 mgr 
	 * @return 
	 */
	public Integer getMgr() {
		return this.mgr;
	}

	/**
	 * 设置 hiredate 
	 * @param hiredate 
	 */
	public void setHiredate(java.sql.Timestamp hiredate) {
		this.hiredate = hiredate;
	}

	/**
	 * 获取 hiredate 
	 * @return 
	 */
	public java.sql.Timestamp getHiredate() {
		return this.hiredate;
	}

	/**
	 * 设置 sal 
	 * @param sal 
	 */
	public void setSal(java.math.BigDecimal sal) {
		this.sal = sal;
	}

	/**
	 * 获取 sal 
	 * @return 
	 */
	public java.math.BigDecimal getSal() {
		return this.sal;
	}

	/**
	 * 设置 comm 
	 * @param comm 
	 */
	public void setComm(java.math.BigDecimal comm) {
		this.comm = comm;
	}

	/**
	 * 获取 comm 
	 * @return 
	 */
	public java.math.BigDecimal getComm() {
		return this.comm;
	}

	/**
	 * 设置 deptno 
	 * @param deptno 
	 */
	public void setDeptno(Integer deptno) {
		this.deptno = deptno;
	}

	/**
	 * 获取 deptno 
	 * @return 
	 */
	public Integer getDeptno() {
		return this.deptno;
	}

	/**
	 * 转换为map对象
	 * @return Map
	 */
	public java.util.Map toMap() {
		java.util.Map map = new java.util.HashMap();
		map.put("empno", getEmpno()); //
		map.put("ename", getEname()); //
		map.put("job", getJob()); //
		map.put("mgr", getMgr()); //
		map.put("hiredate", getHiredate()); //
		map.put("sal", getSal()); //
		map.put("comm", getComm()); //
		map.put("deptno", getDeptno()); //

		return map;
	}

	

}
